import request from '@/utils/request'

export function getPlatformlist() {
  return request({
    url: '/chart/platformAmount',
    method: 'get',
  })
}
export function getPurchaseOrderNum() {
  return request({
    url: '/chart/purchaseOrderNum',
    method: 'get',
  })
}
export function getPlatformOrderNum() {
  return request({
    url: '/chart/platformOrderNum',
    method: 'get',
  })
}
export function getReturnOrderNum() {
  return request({
    url: '/chart/returnOrderNum',
    method: 'get',
  })
}
// 获得各个平台的退货订单数
export function getReturnOrderNumData() {
  return request({
    url: '/chart/returnOrderNumData',
    method: 'get',
  })
}
